<%@ taglib prefix="s" uri="/struts-tags"%>
<%@ taglib prefix="sx" uri="/struts-dojo-tags"%>

<s:include value="pageTop.jsp" />

<div id="page">
	<div id="content">
		<div class="post">
			<h2 class="title"><s:text name="title.atenderPeticion" /></h2>
			<div class="entry">
			<s:if test="#session.usuario==null"><p><s:text name="errors.authenticate" /></p>
			<p><s:url action="indexadmin" id="inicio" includeParams="none"></s:url>
			<s:a href="%{inicio}"><s:text name="label.inicio" /></s:a></p>
			</s:if>
<s:else>
			<s:url action="peticionesListAdmin" id="url"/>
			<sx:div href="%{url}" loadingText="Loading..." listenTopics="/refresh"  updateFreq="3000" autoStart="true"></sx:div>
 			</s:else>		
			</div>
	</div>
</div>

<s:include value="pageBottom.jsp" />